import request from '@/utils/request'

export function getRecordList() {
  return request({
    url: '/api/record/',
    method: 'get'
    // params: { }
  })
}

export function addRecord(data) {
  return request({
    url: '/api/addRecord/',
    method: 'post',
    data
  })
}
